<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.ld.com/shield/tags" prefix="shield"%>
<%@ page trimDirectiveWhitespaces="true" %>
<fmt:setLocale value="zh_CN"/>
<%-- 权限判断 --%>
<shield:permssion type="button">
<div >
	<!-- t改为shieldTarget，且为jQuery选择器形式 -->
    <form action="${ctxPathA}/system/user/search" method="post" shieldTarget="#searchResult" class="searchForm">
    	<shield:token/>
        <div class="search-box">
		    <!-- class"search-i"不同分辨率下，标题与输入文本共同换行。 -->
		    <span class="search-i"><b>登录账号：</b><input type="text" name="<shield:encrypt value="equal_loginCode"/>" /></span>
		    <span class="search-i"><b>用户姓名：</b><input type="text" name="<shield:encrypt value="like_userName"/>" /></span>
		    <span class="search-i"><b>状态：</b>
		    <select name="<shield:encrypt value="equal_state"/>" data-v="0">
		    	<option value="">全部</option>
		    	<option value="0" >正常</option>
		    	<option value="2">停用</option>
		    </select></span>
		    <span class="search-i"><b>电子邮箱：</b><input type="text" name="<shield:encrypt value="equal_email"/>" /></span>
		    <span class="search-i"><b>手机号码：</b><input type="text" name="<shield:encrypt value="equal_mobile"/>" /></span>
		    <span class="search-i">
	            <input class="button submit" type="submit" name="doSearch" value="查询">
	            <!-- href改为data-url -->
	            <a data-url="${ctxPathA }/system/user/toAddOrUpdate" class="shieldDialog" viewTitle="添加用户表信息" viewWidth="650">
	            	<input class="addBaseTable" type="button" name="addBaseTable" value="添加">
	            </a>
	            
            </span>
        </div>
        <div id="searchResult"></div>
    </form>
</div>
<%-- <script type="text/javascript" src="${ctxPath }/js/system/js-xlsx/xlsx.full.min.js?20190805171959"></script>--%>
<%-- 此处需要注意，type为text/babel，因为里面使用了let --%>
<%-- <script type="text/babel" src="${ctxPath }/js/system/export.js?20190805171903"></script> --%>
</shield:permssion>
